package com.hdaccp.foodsales.dao;

import com.hdaccp.foodsales.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPermissionDao {
    public List<Integer> getPermissionByRoleId(int roleid) ;
    public List<Permission> query1(long gid);
    public void del(long roleid);
    public void save(@Param("roleid") long roleid,@Param("permissionid") long permissionid);
}
